Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Read Environment Variables in Autoexec.bat File (Windows NT/2000/XP)
Category: Home > Tips and Tricks > Configuration Files > AUTOEXEC.BAT

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

When this value is enabled the variables declared in the Autoexec.bat file will be parsed and included in the current user environment.

Open your registry and find the key below.

Create a new String value, or modify the existing value called 'ParseAutoexec' using the settings below.

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|ParseAutoexecREG_SZ"0"|
-
|HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon|
-

Settings:
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
Name: ParseAutoexec
Type: REG_SZ (String Value)
Value: (0 = disabled, 1 = enabled)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: May 27, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License